//
//  LKNavBarTitleMenu.h
//  LKNovelty
//
//  Created by RoyLei on 16/11/16.
//  Copyright © 2016年 Laka. All rights reserved.
//

#import "LSYHeaderMenuView.h"

typedef NS_ENUM(NSInteger, BNDMenuStyle) {
    BNDMenuStyleNone   = 0,   /**< 默认样式 */
    BNDMenuStyleList = 1,   /**< 公告列表样式 */
};



@interface BNDMenuModel : NSObject
@property (copy, nonatomic) NSString *name;
@end

@interface LKNavBarTitleMenu : LSYHeaderMenuView

@property (assign, nonatomic) NSInteger containerMaxWidth; /**< 容器最大宽度 */
@property (assign, nonatomic) BNDMenuStyle menuStyle; /**< 类型风格 */

@property (assign, nonatomic) NSInteger firstButtonLeftMargin;
@property (strong, nonatomic, readonly) NSMutableArray <BNDMenuModel *> *columns;

/**
 添加标题栏目

 @param columns 标题栏目
 */
- (void)addedColumns:(NSArray <BNDMenuModel *> *)columns;

/**
 更新导航菜单栏

 @param columns 栏目
 */
- (void)updateNavBarTitleMenuTitlesIfneed:(NSArray <BNDMenuModel *> *)columns;

/**
 显示菜单栏
 */
- (void)showTitleMenuView;

/**
 隐藏菜单栏
 */
- (void)hideTitleMenuView;
@end


